<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
	<head>
		<title>修改信息</title>
			
	</head>
	<body>
		<h2>完善个人信息</h2>
		
		<s:form action="registerUpdate" namespace="/" >
			<s:textfield name="user.screenName" label="screenName"/>
			<s:radio list="#application.GENDER" listKey="uniqueId" listValue="value" name="user.gender" label="gender"></s:radio>
			<s:textfield name="user.descn" label="descn" cssStyle="height:100px;50px;"/>
			<s:submit value="Submit RegisterOK"></s:submit>
		</s:form>	
		
		<h2>上传头像</h2>
		<s:form action="fileUpload" namespace="/" enctype="multipart/form-data" method="post">
			<s:file  name="file"  label="上传头像"/>
			<s:submit value="上传"></s:submit>
		</s:form>
			
		<h2>修改密码</h2>
		<s:form action="updatePassword" namespace="/" >
			<s:password  name="oldPassword"   label="old password"/>
			<s:password  name="newPassword"   label="new Password"/>
			<s:submit value="Submit RegisterOK"></s:submit>
		</s:form>		
	</body>
</html>



